package com.dm.hdfxxt.loginmanage.service.impl;

import com.dm.hdfxxt.loginmanage.mapper.LoginMapper;
import com.dm.hdfxxt.loginmanage.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

@Service
@Transactional
public class LoginServiceImpl implements LoginService{

    @Autowired
    private LoginMapper loginMapper;

    /**
         * @Description 通过用户编号查询用户信息
         * @Author zhangxue
         * @Date 17:43 2018/9/27
         * @Param
         * @retrun
         **/
    @Override
    public Map<String, Object> queryUserByUserNo(Map<String, Object> param) {
        Map<String,Object> UserMap = loginMapper.queryUserByUserNo(param);
        return UserMap;
    }

}
